package framework.office.jxl.t1;
import java.io.File;
import java.io.IOException;

import jxl.CellView;
import jxl.Sheet;
import jxl.Workbook;
import jxl.write.WritableSheet;
import jxl.write.WritableWorkbook;
public class t {
	public static void main(String[] args) throws Exception {
		File file = new File("C:/Users/K/Desktop/1/1.xls");
		WritableWorkbook book = Workbook.createWorkbook(file);
		WritableSheet[] sheets = book.getSheets();
		for (WritableSheet sheet : sheets) {
			sheet.setColumnView(0, 185);
			sheet.setColumnView(1, 500);
			sheet.setColumnView(2, 20);
			sheet.setColumnView(3, 30);
			sheet.setColumnView(4, 30);
		}
		book.write();
		book.close();
	}
}
